package com.itheima.reggie.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.reggie.entity.Employee;
import com.itheima.reggie.entity.PageParam;

public interface EmployeeService {
    //登录
    Employee login(Employee employee);

    //新增员工
    int add(Employee employee, long employeeId);

    //分页查询
    IPage<Employee> findPage(PageParam pageParam);

    //更新状态
    int update(Employee employee, long employeeId);
}
